package com.ruoyi.classai.domain.dto.resource;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * 教学视频解析对象 ewc_teaching_resource
 *
 * @author zsp
 * @date 2025-06-07
 */
@Data
@TableName("ewc_teaching_resource")
@Schema(description="教学视频解析对象ewc_teaching_resource")
public class EwcTeachingResourceDto implements Serializable{

private static final long serialVersionUID = 1L;

    /** 教学视频解析唯一id */
    @Schema(description  = "教学视频解析唯一id")
    private String id;

    /** 资源名称 */
    @NotBlank(message = "资源名称不能为空")
    @Schema(description  = "资源名称")
    private String resourceName;

    /** 资源地址 */
    @NotBlank(message = "资源地址不能为空")
    @Schema(description  = "资源地址")
    private String resourceUrl;

    /** 学科类型*/
    @NotNull(message = "学科类型不能为空")
    @Schema(description = "学科类型")
    private Integer subjectType;

    /** 资源taskId */
    @NotBlank(message = "资源taskId不能为空")
    @Schema(description  = "资源taskId")
    private String taskId;

    /** 备注 */
    @Schema(description  = "备注")
    private String remark;

}
